let config = {
    isShow: true,
    name: 'fileAddUpdata',
    labelWidth: 120,
    form: [
        { type: 'input', dataType: 'text', key: 'wdName', label: '文档名称', icon: '', disabled: false, placeholder: '请输入文档名称', default: '', maxlength: 100, },
        { type: 'input', dataType: 'text', key: 'wdRemarks', label: '文档描述', icon: '', disabled: false, placeholder: '请输入文档描述', default: '', maxlength: 100, },
        {
            type: 'select', key: 'wdType', label: '文档类型',
            option: [{ label: '操作手册', value: '操作手册' }, { label: '系统介绍', value: '系统介绍' }],
            textAlign: 'left', placeholder: '请选择文档类型', default: '操作手册'
        },
        { type: 'slot', label: '文档', name: 'myslot' }
    ],
    rules: {
        wdName: [
            { required: true, message: '请输入文档名称', trigger: 'blur' }
        ],
    },
    grid: {
        xl: 24,
        lg: 24,
        md: 24,
        sm: 24,
        xs: 24
    },
    event: {
        iconInput: () => {
        }
    } // 动态绑定事件
}

export { config }